<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<div id="foot">
	<div class="friendships">
		<div class="conet">
			<p class="title">友情链接</p>
			<div class="nav">
				<c:forEach items="${indexImages }" var="yqljImage">
					<c:if test="${yqljImage.type == 3}">
						<c:choose>
				       	<c:when test="${fn:containsIgnoreCase(yqljImage.url, 'http://') }">
				       		<a href="${yqljImage.url}" target="_blank">
				       	</c:when>
				       	<c:otherwise>
				       		<a href="<%=basePath%>${yqljImage.url}" target="_blank">
				       	</c:otherwise>
				       	</c:choose>
				       	${yqljImage.title}</a>
				    </c:if>
				</c:forEach>
			</div>
			<div id="clear"></div><!--清除浮动-->
		</div>
	</div>
	<div class="shortcut">
		<div class="conet">
			<ul>
				<li>
					<p class="title"><span class="ico1"></span>新手上路</p>
					<p class="wire"></p>
					<c:forEach items="${footXsslCompanyinfoTypes }" var="companyinfoType">
						<c:choose>
						<c:when test="${not empty companyinfoType.url }">
							<a href="${companyinfoType.url }">
						</c:when>
						<c:otherwise>
							<a href="<%=basePath%>shop/companyinfo/list.shtml?belongto=${footXsslcompanyinfoType}">
						</c:otherwise>
						</c:choose>
							${companyinfoType.type }
						</a>
					</c:forEach>
				</li>
				<li>
					<p class="title"><span class="ico2"></span>安全保障</p>
					<p class="wire"></p>
					<c:forEach items="${footAqbzCompanyinfoTypes }" var="companyinfoType">
						<c:choose>
						<c:when test="${not empty companyinfoType.url }">
							<a href="${companyinfoType.url }">
						</c:when>
						<c:otherwise>
							<a href="<%=basePath%>shop/companyinfo/list.shtml?belongto=${footAqbzcompanyinfoType}">
						</c:otherwise>
						</c:choose>
							${companyinfoType.type }
						</a>
					</c:forEach>
				</li>
				<li>
					<p class="title"><span class="ico3"></span>业务资质</p>
					<p class="wire"></p>
					<c:forEach items="${footYwzzCompanyinfoTypes }" var="companyinfoType">
						<c:choose>
						<c:when test="${not empty companyinfoType.url }">
							<a href="${companyinfoType.url }">
						</c:when>
						<c:otherwise>
							<a href="<%=basePath%>shop/companyinfo/list.shtml?belongto=${footYwzzcompanyinfoType}">
						</c:otherwise>
						</c:choose>
							${companyinfoType.type }
						</a>
					</c:forEach>
				</li>
				<div id="clear"></div><!--清除浮动-->
			</ul>
			<div class="location">
				<p class="tel"><span></span>全国理财热线：</p>
				<p class="tels">400-688-1688</p>
				<p class="email"><span></span>service@erichfund.com</p>
				<p class="time">服务时间：9:00-22:00（周一至周六）</p>
			</div>
			<div class="wechat">
				<img src="<%=basePath%>skin/images/pf/wechat.jpg"/>
				<p>官方微信号</p>
			</div>
			<div id="clear"></div><!--清除浮动-->
		</div>
	</div>
	<p class="copyright">
		<span>Copyrights ? 2013 - 2015凤凰基金销售投资顾问有限公司版权所有 沪ICP备 11012969号</span>
	</p>
</div>